package edu.cqie.service;

import edu.cqie.dao.UserDao;
import edu.cqie.dao.UserDaoImpl;
import edu.cqie.dao.UserDaoMysqlImpl;
import edu.cqie.dao.UserDaoOracleImpl;

public class UserServiceImpl implements UserService {
    private UserDao userDao;

    //利用setter进行动态实现值的注入！
    public void setUserDao(UserDao userDao) {
        this.userDao = userDao;
    }

    @Override
    public void getUser() {
        userDao.getUser();
    }
}
